<!-- 转速页面右侧 -->
<template>
  <div class="right-page">
    <div class="give-birth">
      <div class="give-birth-title">
        <div class="give-birth-text">实时转速监测</div>
      </div>
      <rotationalSpeedCharts />
    </div>
    <div class="product-size">
      <div class="give-birth-title">
        <div class="give-birth-text">产品尺寸实时监测</div>
      </div>
      <div class="product-size-content">
        <dimensionCharts />
      </div>
    </div>
  </div>
</template>

<script setup>
import rotationalSpeedCharts from "../../../../components/rotationalSpeedCharts.vue";
import dimensionCharts from "../../../../components/dimensionCharts.vue";
</script>

<style scoped lang="scss">
.right-page {
  width: 374px;
  height: 950px;
  display: flex;
  flex-direction: column;
  // justify-content: space-between;
  font-family: "PangMenZhengDao";
  padding-right: 39px;
  .give-birth-title {
    width: 374px;
    height: 34px;
    background: url("../../../../assets/images/bgc-title.png") no-repeat;
    background-size: 100% 100%;
    text-align: center;
    line-height: 34px;
    font-size: 23px;
    .give-birth-text {
      background: linear-gradient(180deg, #ffffff 0%, #73c0ff 90%);
      -webkit-background-clip: text; /* 确保背景仅应用于文字 */
      -webkit-text-fill-color: transparent; /* 文字颜色透明以显示背景 */
    }
  }
  .give-birth {
    width: 100%;
    height: 413px;
  }
  .product-size {
    width: 100%;
    height: 219px;
    // .product-size-content {
    //   width: 100%;
    //   height: 626px;
    //   background: linear-gradient(
    //     240deg,
    //     #051522 0%,
    //     rgba(20, 84, 136, 0.1) 100%
    //   );
    // }
  }
}
</style>


